/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.timeline-view * {
  -webkit-user-select: none;
  box-sizing: border-box;
}

.timeline-view {
  -webkit-box-flex: 1;
  -webkit-box-orient: vertical;
  cursor: default;
  display: -webkit-box;
  font-family: sans-serif;
  padding: 0;
}

.timeline-view > .control > .title {
  font-size: 14px;
  height: 19px;
  padding-left: 2px;
  padding-right: 8px;
  padding-top: 2px;
}

.timeline-view > .control {
  background-color: #e6e6e6;
  background-image: -webkit-gradient(linear,
                                     0 0,
                                     0 100%,
                                     from(#E5E5E5),
                                     to(#D1D1D1));
  border-bottom: 1px solid #8e8e8e;
  display: -webkit-flex;
  padding-top: 1px;
}

.timeline-view > .control > .controls.category-filter {
  margin-left: auto;
}

.timeline-view > .control > .controls {
  display: -webkit-flex;
}

.timeline-view > .control > span {
  padding-left: 5px;
  padding-right: 10px;
}

.timeline-view > .control > .controls > button,
.timeline-view > .control > .controls > label {
  font-size: 11px;
  height: 19px;
  margin: 1px 2px 1px 2px;
}

.timeline-view > .control > .spacer {
  -webkit-box-flex: 1;
}

.timeline-view > .container {
  -webkit-box-flex: 1;
  border-bottom: 1px solid #8e8e8e;
  display: -webkit-box;
}

.timeline-view > .container > * {
  -webkit-box-flex: 1;
}

.timeline-view > .analysis-view {
  display: -webkit-flex;
  padding-left: 2px;
  padding-right: 2px;
}
.timeline-view > .analysis-view:not(.viewing-object) {
  height: 250px;
}
.timeline-view > .analysis-view.viewing-object {
  height: 500px;
}

.timeline-view .selection {
  margin: 2px;
}

.timeline-view .selection ul {
  margin: 0;
}

.find-control {
  -webkit-user-select: none;
  display: -webkit-box;
  position: relative;
}

.find-control .hit-count-label {
  left: 0;
  opacity: 0.25;
  pointer-events: none;
  position: absolute;
  text-align: right;
  top: 2px;
  width: 170px;
  z-index: 1;
}

.find-control input {
  -webkit-user-select: auto;
  background-color: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  height: 19px;
  margin-bottom: 1px;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1px;
  padding: 0;
  width: 170px;
}
.find-control input:focus {
  background-color: white;
}

.button.find-previous {
  border-left: none;
  margin-left: 0;
  margin-right: 0;
}
.button.find-next {
  border-left: none;
  margin-left: 0;
}

.view-help-overlay {
  padding: 6px;
}

.button {
  background-color: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: rgba(0,0,0,0.8);
  font-size: 14px;
  height: 19px;
  margin: 1px;
  min-width: 23px;
  text-align: center;
}

.button:hover {
  background-color: rgba(255, 255, 255, 1.0);
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 .05em rgba(0, 0, 0, 0.4);
  color: rgba(0, 0, 0, 1);
}

.view-info-button {
  padding-left: 4px;
  padding-right: 4px;
  width: auto;
}

.view-info-button:hover {
  border: solid 1px;
}

.view-import-errors-button {
  border: solid 1px rgba(128, 0, 0, 0.2);
  color: darkred;
}

.view-import-errors-button:hover {
  border: solid 1px red;
  color: red;
}

.view-import-errors-overlay {
  -webkit-user-select: text;
  max-height: 500px;
  max-width: 800px;
  min-height: 200px;
  min-width: 400px;
  overflow: auto;
}

.import-errors-dialog-text {
  font-family: monospace;
  margin: 8px;
  white-space: pre;
}

.metadata-dialog {
  max-height: 500px;
  max-width: 800px;
  min-height: 200px;
  min-width: 400px;
  overflow: auto;
}

.metadata-dialog-text {
  font-family: monospace;
  margin: 8px;
  white-space: pre;
}

.category-filter-dialog {
  max-height: 500px;
  min-width: 400px;
  overflow-y: auto;
  padding: 20px;
}

.category-filter-dialog-form {
  font-size: 80%;
  padding: 10px;
}

.category-filter-dialog-form input {
  margin-right: 7px;
}
